package com.coco.seck.service;

import com.coco.common.result.CommonResponse;
import com.coco.seck.pojo.TbSeckillOrder;

import java.text.ParseException;

/**
 *
 * @author HanSama
 * @date 2021/7/19 10:48
 */
public interface SeckillService {

    /**
     * 开始秒杀
     * @author HanSama
     * @date 2021/7/19 10:46
     * @param uid
     * @param gid
     * @return java.lang.String
     */
    CommonResponse doSeckKill(Integer uid, Integer gid) throws ParseException;

    /**
     * 添加秒杀商品 Demo
     * @author HanSama
     * @date 2021/7/19 10:46
     * @return java.lang.String
     */
    String addSeckGoods();



}
